package com.java.mapper;

import java.util.List;

import com.java.entity.Classroom;

public interface ClassroomMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Classroom record);

    int insertSelective(Classroom record);

    Classroom selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Classroom record);

    int updateByPrimaryKey(Classroom record);
    
    List<Classroom> selectByUserid(Integer userid);
    
    List<Classroom> selectByClassid(Integer classid);
 
    List<Classroom> selectAll();
    
    int deleteAll();
    
}